﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RequestSamples.aspx.cs" Inherits="JSONData.RequestSamples" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            font-size: small;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table class="style1">
            <tr>
                <td>
        Basic request using default <i>tqx</i> parameters</td>
                <td class="style2">
    
        <a href="http://localhost:1717/SimpleDataSource.aspx" target="_blank">
        http://localhost:1717/SimpleDataSource.aspx</a></td>
            </tr>
            <tr>
                <td>
    <p>
        Identified request using the <i>reqId</i> parameter.</p>
                </td>
                <td class="style2">
        <a href="http://localhost:1717/SimpleDataSource.aspx?tqx=reqid:12345" target="_blank">
        http://localhost:1717/SimpleDataSource.aspx?tqx=reqid:12345</a></td>
            </tr>
            <tr>
                <td>
    <p>
        TODO: Data source request returning the data in a visual HTML format</p>
                </td>
                <td class="style2">
    <p class="style2">
        <a href="javascript:alert('Not implemented in this release')"    
            target="_blank">
        http://localhost:1717/SimpleDataSource.aspx?tqx=reqid:12345;out:html</a></p>
                </td>
            </tr>
            <tr>
                <td>
    <p>
        Data source request returning the data in a JSON format and containing a custom 
        <i>ResponseHandler</i> component.</p>
                </td>
                <td class="style2">
    <p class="style2">
        <a href="http://localhost:1717/SimpleDataSource.aspx?tqx=reqid:12345;out:json;responsehandler:myhandler" 
            target="_blank">
        http://localhost:1717/SimpleDataSource.aspx?tqx=reqid:12345;out:json;responsehandler:myhandler</a></p>
                </td>
            </tr>
            <tr>
                <td>
    <p>
        Data source request using the <i>sig</i> hash code parameter. The response contains an 
        appropriate error and no data table.</p>
                </td>
                <td class="style2">
    <p class="style2">
        <a href="http://localhost:1717/SimpleDataSource.aspx?tqx=reqid:12345;out:json;sig:-882227471" 
            target="_blank">
        http://localhost:1717/SimpleDataSource.aspx?tqx=reqid:12345;out:json;sig:-882227471</a></p>
                </td>
            </tr>
        </table>
    
    </div>
    <div>
    
        <br />
        <br />
        </div>
    </form>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
</body>
</html>
